package com.ruoyi.system.domain.Pull;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 线边库存列对象 line_stock
 *
 * @author ruoyi
 * @date 2023-03-06
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("line_stock")
public class LineStock implements Serializable {

private static final long serialVersionUID=1L;


        /** 线边库存主键id */
        @TableId(value = "stock_id")
        @ApiModelProperty(value = "线边库存主键id")
    private Long stockId;

    @ApiModelProperty(value = "工单编码")
    private String orderCode;

        /** 物料编码 */
        @Excel(name = "物料编码")
        @ApiModelProperty(value = "物料编码")
    private String materialCode;

        /** 物料名称 */
        @Excel(name = "物料名称")
        @ApiModelProperty(value = "物料名称")
    private String materialName;

        /** 产线名称 */
        @Excel(name = "产线名称")
        @ApiModelProperty(value = "产线名称")
    private String lineName;

    @ApiModelProperty(value = "产线编码")
    private String lineCode;

        /** 工位名称 */
        @Excel(name = "工位名称")
        @ApiModelProperty(value = "工位名称")
    private String stationName;

    @ApiModelProperty(value = "工位编码")
    private String stationCode;

        /** 库存数量 */
        @Excel(name = "库存数量")
        @ApiModelProperty(value = "库存数量")
    private Integer stockNumber;

        /** 单位 */
        @Excel(name = "单位")
        @ApiModelProperty(value = "单位")
    private String unit;

        /** 标包数量 */
        @Excel(name = "标包数量")
        @ApiModelProperty(value = "标包数量")
    private Integer standardNumber;

        /** 有效期（天） */
        @Excel(name = "有效期" , readConverterExp = "天=")
        @ApiModelProperty(value = "有效期(天)")
    private Integer validityPeriod;



        /** createBy */
        private String createBy;

        /** createTime */
        private Date createTime;

        /** updateBy */
        private String updateBy;

        /** updateTime */
        private Date updateTime;
}
